package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityHouseModelItems;
import com.ecoolex.ying.space.entity.EstateProjectActivityHouseModelItemsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityHouseModelItemsMapper {
    long countByExample(EstateProjectActivityHouseModelItemsExample example);

    int deleteByExample(EstateProjectActivityHouseModelItemsExample example);

    int deleteByPrimaryKey(Integer itemId);

    int insert(EstateProjectActivityHouseModelItems record);

    int insertSelective(@Param("record") EstateProjectActivityHouseModelItems record, @Param("selective") EstateProjectActivityHouseModelItems.Column ... selective);

    EstateProjectActivityHouseModelItems selectOneByExample(EstateProjectActivityHouseModelItemsExample example);

    List<EstateProjectActivityHouseModelItems> selectByExample(EstateProjectActivityHouseModelItemsExample example);

    EstateProjectActivityHouseModelItems selectByPrimaryKey(Integer itemId);

    EstateProjectActivityHouseModelItems selectByPrimaryKeyWithLogicalDelete(@Param("itemId") Integer itemId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityHouseModelItems record, @Param("example") EstateProjectActivityHouseModelItemsExample example, @Param("selective") EstateProjectActivityHouseModelItems.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityHouseModelItems record, @Param("example") EstateProjectActivityHouseModelItemsExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityHouseModelItems record, @Param("selective") EstateProjectActivityHouseModelItems.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityHouseModelItems record);

    int batchInsert(@Param("list") List<EstateProjectActivityHouseModelItems> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityHouseModelItems> list, @Param("selective") EstateProjectActivityHouseModelItems.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityHouseModelItemsExample example);

    int logicalDeleteByPrimaryKey(Integer itemId);
}